home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-02-06 | 1.1 KB | 48 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="1"
- "COUNT"="3"
- "UIPATH"="Appearance\Files&Folders\Files"
- "NAME"="Special File Description"
- "VERSION"="1.25"
- "LANGUAGE"="VBScript"
- "TEXT 1"="EXE Desc"
- "TEXT 2"="DLL Desc"
- "TEXT 3"="COM Desc"
- "DESCRIPTION 1"="This plug-in allows you to change the description for EXE, DLL and COM file."
- "DESCRIPTION 2"="We really don't know why anybody would change this, but it was on our user wish list so we've added it ;-)."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sP_1="HKCR\exefile\@"
- sP_2="HKCR\dllfile\@"
- sP_3="HKCR\comfile\@"
-
- Sub Plugin_Initialize
- s=RegReadValue(sP_1)
- SetUIElement 1,s
-
- s=RegReadValue(sP_2)
- SetUIElement 2,s
-
- s=RegReadValue(sP_3)
- SetUIElement 3,s
- End Sub
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(SP_1,s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(SP_2,s,1)
-
- s=GetUIElement(3)
- Call RegWriteValue(SP_3,s,1)
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-